package com.pkk.penguin.components.starter.rpc.response;

import com.pkk.penguin.components.starter.rpc.response.configure.JsonHttpMessageConverters;
import com.pkk.penguin.components.starter.rpc.response.handler.GlobalResponseHandler;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * 开启全局统一response
 * @author luffy
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({GlobalResponseHandler.class, JsonHttpMessageConverters.class})
public @interface EnableGlobleResponse {
}
